package characterbuilder;

public class Main {

    int statBonus(int stat){
        int bonus = (stat - 10) / 2;
        return bonus;
    }

    int incrDmgDie(int die, int dieNr) {

        switch (die) {
            case 1:
                die = 2;
                break;
            case 2:
                die = 3;
                break;
            case 3:
                die = 4;
                break;
            case 4:
                die = 6;
                break;
            case 6:
                die = 8;
                break;
            case 8:
                die = 6;
                break;
            case 10:
                die = 8;
        }
        return die;
    }

    public static void main(String[] args) {

        int strength = 47;
        Main tryz = new Main();
        System.out.println(tryz.statBonus(strength));
    }
}
